﻿using System;
using System.Collections.Generic;
using System.Web;
using DotNetNuke.Web.Mvp;

namespace YourCompany.Modules.$safeprojectname$
{
    public interface IEdit$safeprojectname$ : IModuleView<Edit$safeprojectname$Model>
    {
        #region "Methods"
        /// <summary>
        /// Shows the audit control.
        /// </summary>
        /// <param name="show">if set to <c>true</c> [show].</param>
        void ShowAuditControl(bool show);
        /// <summary>
        /// Shows the delete button.
        /// </summary>
        /// <param name="show">if set to <c>true</c> [show].</param>
        void ShowDeleteButton(bool show);
        #endregion

        #region "Event Handlers"
        /// <summary>
        /// Occurs when [cancel].
        /// </summary>
        event EventHandler Cancel;
        /// <summary>
        /// Occurs when [delete].
        /// </summary>
        event EventHandler Delete;
        //delegate void SaveEventHandler(object sender, UIEventArgs<$safeprojectname$Info> e);
        /// <summary>
        /// Occurs when [save].
        /// </summary>
        event EventHandler<UIEventArgs<$safeprojectname$Info>> Save;
        #endregion
    }
}